package guijavacommander.actions;

import guijavacommander.FilePanel;

import javax.swing.*;
import java.awt.event.ActionEvent;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * User: Deady
 * Date: 16.07.2009
 * Time: 14:19:31
 */
public class InverseSelection extends AbstractAction {

    private Log logger = LogFactory.getLog(InverseSelection.class);

    private FilePanel panel;

    public InverseSelection(FilePanel panel) {
        this.panel = panel;
    }

    public void actionPerformed(ActionEvent e) {
        logger.debug("inverse selection");
        panel.inverseSelection();
        //TotalCommander.instance.getActivePanel().refresh();
    }

}
